package com.kalua.list.dbaccess.product;

import java.util.Map;
import java.util.Set;

import com.kalua.list.dbaccess.SimpleCRUDDAO;
import com.kalua.list.domainmodel.NumericId;
import com.kalua.list.domainmodel.TextIdentifier;
import com.kalua.list.domainmodel.product.Product;

public interface ProductDAO extends SimpleCRUDDAO<Product, NumericId> {
	Set<Product> findByRetailerId(TextIdentifier retailerIssuedId, TextIdentifier retailerId);
	Map<NumericId, Product> findByRetailerId(TextIdentifier retailerId);
}